package config

const (
	TcpPortStartPos    = 15550
	TcpPortCount       = 10
	TcpReceiveBuffSize = 64 * 1024
	TcpInterval        = 60
)

const (
	UdpPortStartPos    = 16550
	UdpPortCount       = 10
	UdpReadBufferSize  = 65507 // UDP最大包大小
	UdpReceiveBuffSize = 4 * 1024 * 1024
	UdpInterval        = 60
)

const (
	HttpStreamPort = 8181
	PathStream     = "/stream"
)

const (
	B  = 1
	KB = 1000 * B
	MB = 1000 * KB
)

const (
	Bit  = 1
	KBit = 1000 * Bit
	MBit = 1000 * KBit
)

const (
	Byte2Bit = 8
)
